package com.zz.study.sharding.mappers;


import com.zz.study.sharding.entity.DatastreamProcess ;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * created by xjx on  2023-11-02 14:22
 */
@Mapper
public interface DatastreamProcessMapper {

    List<DatastreamProcess> getAllRecords();

    int addRecord(DatastreamProcess record);

    DatastreamProcess getRecordById(String id);

    int removeRecordById(String id);
}
